package com.aisino.demogradle.service;

import java.util.List;
import com.aisino.demogradle.entity.Student;
import com.github.pagehelper.PageInfo;

/**
 * @author guochuantao
 * @since 2025/9/9 16:31
 * @version 1.0
 * @description  
*/

public interface StudentService{

    int deleteByPrimaryKey(Long id);

    int insert(Student record);

    int insertSelective(Student record);

    Student selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    int batchInsert(List<Student> list);

        /**
         * 查询所有
         * @return List<Student>
         */
    List<Student> selectAll();


    PageInfo<Student> selectPage(int pageNum, int pageSize);


}
